// 自动生成模板EmailTemplate
package business

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 短息模板 结构体  EmailTemplate
type EmailTemplate struct {
	global.GVA_MODEL
	Name   string `json:"name" form:"name" gorm:"column:name;comment:短信模板标题;size:20;"`      //短信模板标题
	Msg    string `json:"msg" form:"msg" gorm:"column:msg;comment:短信模板内容;size:512;"`        //短信模板内容
	UserId uint   `json:"userId" form:"userId" gorm:"column:user_id;comment:用户Id;size:12;"` //用户Id
}

// TableName 短息模板 EmailTemplate自定义表名 bs_email_template
func (EmailTemplate) TableName() string {
	return "bs_email_template"
}
